package com.ruoyi.project.hissystem.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class SysExamCost extends BaseEntity {
    private Integer examid;
    private String examname;
    private  String examkey;
    private Double examoneprice;
    private Double examcost;
    private String examunit;
    private Integer examtype;
    private String status;

    @Override
    public String toString() {
        return "SysExamCost{" +
                "examid=" + examid +
                ", examname='" + examname + '\'' +
                ", examkey='" + examkey + '\'' +
                ", examoneprice=" + examoneprice +
                ", examcost=" + examcost +
                ", examunit='" + examunit + '\'' +
                ", examtype=" + examtype +
                ", status='" + status + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysExamCost that = (SysExamCost) o;
        return Objects.equals(examid, that.examid) &&
                Objects.equals(examname, that.examname) &&
                Objects.equals(examkey, that.examkey) &&
                Objects.equals(examoneprice, that.examoneprice) &&
                Objects.equals(examcost, that.examcost) &&
                Objects.equals(examunit, that.examunit) &&
                Objects.equals(examtype, that.examtype) &&
                Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(examid, examname, examkey, examoneprice, examcost, examunit, examtype, status);
    }

    public Integer getExamid() {
        return examid;
    }

    public void setExamid(Integer examid) {
        this.examid = examid;
    }

    public String getExamname() {
        return examname;
    }

    public void setExamname(String examname) {
        this.examname = examname;
    }

    public String getExamkey() {
        return examkey;
    }

    public void setExamkey(String examkey) {
        this.examkey = examkey;
    }

    public Double getExamoneprice() {
        return examoneprice;
    }

    public void setExamoneprice(Double examoneprice) {
        this.examoneprice = examoneprice;
    }

    public Double getExamcost() {
        return examcost;
    }

    public void setExamcost(Double examcost) {
        this.examcost = examcost;
    }

    public String getExamunit() {
        return examunit;
    }

    public void setExamunit(String examunit) {
        this.examunit = examunit;
    }

    public Integer getExamtype() {
        return examtype;
    }

    public void setExamtype(Integer examtype) {
        this.examtype = examtype;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public SysExamCost() {
    }
}
